/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

/*Niebieski #6288c4
            Czerwony #d7493e
            Żółty #f6c53d
            Zielony	#06964f*/
.right{
    float: right;
}
*, body, html, div, p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', arial, sans-serif;
    color: #333;
}

#menu a, #menu a:visited {
    text-decoration: none;
    color: inherit;
}

#menu a:hover {
    color: inherit;
}

#main_content:not(.login) {
    float: left;
    width: 66%;
}

#sidebar {
    float: right;
    width: 30%;
    border-left: 1px #E5E5E5 solid;
    margin-top: 10px;
    padding-left: 10px;
}

#topbar {
    background: #6288c4;
    height: 69px;
}
#topbar ul, #topbar ol { margin: 0; padding: 0; }
#topbar #logo {
    display: block;
    float: left;
}

#topbar #menu {
    float:right;
    list-style-type: none;
    height: 69px;
}
#topbar #menu li {
    display: block;
    height: 69px;
    line-height: 69px;
    padding: 0px 20px 0px 40px;
    float:left;
    color: white;
    font-size: 24px;
}

#events {
    background-color: #d7493e;
    background-image: url('/img/red_tab.png');
    background-position: left;
    background-repeat: no-repeat;
}
#cities {
    background-color: #f6c53d;
    background-image: url('/img/yellow_tab.png');
    background-position: left;
    background-repeat: no-repeat;
}
#contact {
    background-color: #06964f;
    background-image: url('/img/green_tab.png');
    background-position: left;
    background-repeat: no-repeat;
}

#city_selector {
    float: right;
    margin: 10px;
    padding: 10px;
    border: 2px solid #6288c4;
}

#city_selector li {
    list-style-type: none;
}

#city_selector select {
    display: none;
}

h1 {
    font-weight: bold;
    font-size: 16pt;
    margin: 10px;
}

.button_1 {
    background: #6288c4;
    border-radius: 3px;
    padding: 6px 8px;
    color: white;
    display: block;
}

.event {
    border: 2px solid #ddd;
    border-radius: 3px;
    margin: 10px;
    padding: 10px;
}

.event .button_1 {
    float: right;
}
.chapter-page .event .date {
    margin-left: 0em;
}
.event .date {
    font-size: 90%;
    color: #666;
    margin-left: 1em;
    display: inline-block;
    vertical-align: top;
}

.event .chapter {
    float: left;
    height: 16pt;
}

.event .name {
    font-weight: bold;
    clear: left;
    font-size: 16pt;
    margin-bottom: 0.4em;
}
.index-chapter-link{
    display: inline-block;
    vertical-align: top;
}
.description {
    margin: 10px;
}

#sidebar .item {
    margin: 2.5em 1em;
}

#sidebar .item h1 {
    margin: 10px 0;
}

div.main > div {
	vertical-align: top;
	display: inline-block;
}
div.main > div.left-side{
	width: 70%;
	margin-right: 20px;
}
div.main > div.right-panel{
	margin-top: 20px;
	padding-left: 20px;
	border-left: 1px #e5e5e5 solid;
}
.gdg-events {
	list-style: none;
	padding: 0;
	margin: 0;
}
.gdg-events > li {
    margin: 7px 0;
    padding: 20px;
    border: 1px #E5E5E5 solid;
    border-radius: 4px;
}
.gdg-events h3 {
	padding: 0;
	margin: 0 0 7px 0;
	font-size: 18px;
}
.gdg-events .event-info{
    color: #777;
    font-size: 13px;
    display: block;
}
.chapter-name {
    font-weight: bold;
    display: inline-block;
    padding: 6px 10px;
    background-color: #42B82C;
    color: white;
    cursor: pointer;
}
a:visited {
color: #15C;
}
a {
color: #15C;
}

footer {
    text-align: center;
    background-color: #6288C4;
    padding: 7px 0px;
    color: white;
}

.button {
    background-color: whiteSmoke;
    border: 1px solid gainsboro;
    color: #666;
    cursor: pointer;
    display: -moz-inline-box;
    -moz-box-orient: vertical;
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
    font-weight: bold;
    height: 27px;
    line-height: 27px;
    min-width: 54px;
    padding: 0 8px;
    text-align: center;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, whiteSmoke), color-stop(100%, #F1F1F1));
    -moz-transition-property: all;
    -webkit-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -moz-transition-duration: 0.218s;
    -webkit-transition-duration: 0.218s;
    -o-transition-duration: 0.218s;
    transition-duration: 0.218s;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: content-box;
}
.button:visited{
    color: #666;
}
.button:hover {
    background-color: #F8F8F8;
    border: 1px solid #C6C6C6;
    color: #333;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #F8F8F8), color-stop(100%, #F1F1F1));
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px 0;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px 0;
    -o-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px 0;
    -ms-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px 0;
    -moz-transition-property: all;
    -webkit-transition-property: all;
    -o-transition-property: all;
    -ms-transition-property: all;
    transition-property: all;
    -moz-transition-duration: 0;
    -webkit-transition-duration: 0;
    -o-transition-duration: 0;
    -ms-transition-duration: 0;
    transition-duration: 0;
}
.button:active {
    background-color: #F6F6F6;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #F6F6F6), color-stop(100%, #F1F1F1));
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0 inset;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0 inset;
    -o-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0 inset;
    -ms-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0 inset;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0 inset;
}
.button-blue {
    background-color: #4D90FE !important;
    border-color: #3079ED !important;
    color: white !important;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4D90FE), color-stop(100%, #4787ED)) !important;
    background-image: -webkit-linear-gradient(top, #4D90FE,#4787ED) !important;
    background-image: -moz-linear-gradient(top, #4D90FE,#4787ED) !important;
    background-image: -o-linear-gradient(top, #4D90FE,#4787ED) !important;
    background-image: -ms-linear-gradient(top, #4D90FE,#4787ED) !important;
    background-image: linear-gradient(top, #4D90FE,#4787ED) !important;
}
.button-blue:hover {
    background-color: #357AE8 !important;
    border-color: #2F5BB7 !important;
    color: white !important;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4D90FE), color-stop(100%, #357AE8)) !important;
    background-image: -webkit-linear-gradient(top, #4D90FE,#357AE8) !important;
    background-image: -moz-linear-gradient(top, #4D90FE,#357AE8) !important;
    background-image: -o-linear-gradient(top, #4D90FE,#357AE8) !important;
    background-image: -ms-linear-gradient(top, #4D90FE,#357AE8) !important;
    background-image: linear-gradient(top, #4D90FE,#357AE8) !important;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0;
    -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0;
    -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0;
}
.button-blue:active {
    -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0 inset;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0 inset;
    -o-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0 inset;
    -ms-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0 inset;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0 inset;
}
.button[disabled] {
    color: #B1B1B1;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, whiteSmoke), color-stop(100%, #F1F1F1)) !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}
.attend-button {
	float: right;
}
.past-events-load{
    margin-bottom: 1em;
}


/* DIALOGS */
.app-dialog-wrapper {
    position: absolute;
    z-index: 200;
    top: 100px;
    left: 100px;
    background-color: white;
    padding: 40px;
    border: 1px #E5E5E5 solid;
    
    -moz-box-shadow: rgba(0, 0, 0, .3) 1px 4px 15px;
    -webkit-box-shadow: rgba(0, 0, 0, .3) 1px 4px 15px;
    -ms-box-shadow: rgba(0, 0, 0, .3) 1px 4px 15px;
    -o-box-shadow: rgba(0, 0, 0, .3) 1px 4px 15px;
    box-shadow: rgba(0, 0, 0, .3) 1px 4px 15px;
}
.app-dialog-close {
    position: absolute;
    top: 10px;
    right: 17px;
    cursor: pointer;
    border: 1px transparent solid;
    padding: 0px 6px;
    display: block;
    -mox-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}
.app-dialog-close:hover{
    -moz-box-shadow: rgba(0, 0, 0, .2) 0px 1px 2px;
    -webkit-box-shadow: rgba(0, 0, 0, .2) 0px 1px 2px;
    -o-box-shadow: rgba(0, 0, 0, .2) 0px 1px 2px;
    -ms-box-shadow: rgba(0, 0, 0, .2) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, .2) 0px 1px 2px;
    border-color: #E5E5E5;
}
.app-dialog-title {
    margin: 10px 0;
}
.app-dialog-buttonbar {
    margin-top: 20px;
    text-align: right;
}


.event-page .meta{
    color: #838383;
    display: inline-block;
    margin-right: 2em;
    vertical-align: top;
}
.event-page .meta .time{
    color: inherit;
}
.about-dgd .desc,
.chapter-page .desc,
.chapter-page .share,
.event-page .meta,
.event-page .share
.event-page .desc{
    margin-left: 10px;
    margin-top: 7px;
}
.chapter-page .share .item,
.event-page .share .item{
    display: inline-block;
    margin-right: 10px;
    
}
.chapter-page .share,
.event-page .share{
    margin-top: 0.7em;
    display: inline-block;
    vertical-align: top;
}
.event .share-button-intent,
.event-page .share-button-intent {
    margin-left: 1em;
}
.chapter-page .desc, 
.event-page .desc{
    padding-top: 1em;
    border-top: 1px #E5E5E5 solid;
    margin-top: 1em;
}
.chapter-page,
.event-page {
    padding: 15px;
}
.chapter-page h1,
.event-page h1{
    font-size: 30px;
}

.event-page .chapter-img{
    max-height: 26px;
}
.event-page .place,
.event-page .map-link {
    display: inline-block;
    margin-left: 1em;
}
.chapter-list > li {
    margin: 30px;
    list-style-type: none;
    padding: 0;
    text-align: center;
}
.mailing-form .email{
    padding: 4px;
}

.chapter-page .chapter-events{
    margin-left: 10px;
    margin-top: 2em;
}
.user-thumb {
    display: inline-block;
    margin-right: 7px;
}



/* FROM CakePHP */
/** containers **/
div.form,
div.index,
div.view {
	float:right;
	width:76%;
	border-left:1px solid #666;
	padding:10px 2%;
}
div.actions {
	float:left;
	width:16%;
	padding:10px 1.5%;
}
div.actions h3 {
	padding-top:0;
	color:#777;
}


/** Tables **/
table {
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:4px;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(even) {
	background: #f9f9f9;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
/* SQL log */
.cake-sql-log {
	background: #fff;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}
/** Paging **/
.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
.paging .current,
.paging .disabled,
.paging a {
	text-decoration: none;
	padding: 5px 8px;
	display: inline-block
}
.paging > span {
	display: inline-block;
	border: 1px solid #ccc;
	border-left: 0;
}
.paging > span:hover {
	background: #efefef;
}
.paging .prev {
	border-left: 1px solid #ccc;
	-moz-border-radius: 4px 0 0 4px;
	-webkit-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}
.paging .next {
	-moz-border-radius: 0 4px 4px 0;
	-webkit-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
}
.paging .disabled {
	color: #ddd;
}
.paging .disabled:hover {
	background: transparent;
}
.paging .current {
	background: #efefef;
	color: #c73e14;
}
/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl dd:nth-child(4n+2),
dl dt:nth-child(4n+1) {
	background: #f4f4f4;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
	width: 10em;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}
/* Form errors */
form .error {
	background: #FFDACC;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: normal;
}
form .error-message {
	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	border: none;
	background: none;
	margin: 0;
	padding-left: 4px;
	padding-right: 0;
}
form .error,
form .error-message {
	color: #9E2424;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

/** Notices and Errors **/
.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 5px;
}

.success,
.message,
.cake-error,
.cake-debug,
.notice,
p.error,
.error-message {
	background: #ffcc00;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00, #E6B800);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.success,
.message,
.cake-error,
p.error,
.error-message {
	clear: both;
	color: #fff;
	background: #c43c35;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(top, #ee5f5b, #c43c35);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.success {
	clear: both;
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
p.error {
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	font-weight: normal;
	line-height: 140%;
}
.notice {
	color: #000;
	display: block;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	color: #fff;
}
/* Buttons and button links */
.actions ul li a,
.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
	color:#333;
	border:1px solid #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-user-select: none;
	user-select: none;
}
.actions ul li a:hover,
.actions a:hover {
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
.actions ul li a:active,
.actions a:active {
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0px 1px 0px;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}
/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 15px;
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.cake-debug-output {
	padding: 0;
	position: relative;
}
.cake-debug-output > span {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(255, 255, 255, 0.3);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 6px;
	color: #000;
	display: block;
	float: left;
	-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
.cake-debug,
.cake-error {
	font-size: 16px;
	line-height: 20px;
	clear: both;
}
.cake-error > a {
	text-shadow: none;
}
.cake-error {
	white-space: normal;
}
.cake-stack-trace {
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	margin: 10px 0 5px 0;
	padding: 10px 10px 0 10px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.cake-stack-trace a {
	text-shadow: none;
	background: rgba(255, 255, 255, 0.7);
	padding: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 0px 4px 10px 2px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 14px;
	display: inline-block;
	text-decoration: none;
	-moz-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
}
.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
.cake-context {
	margin-bottom: 10px;
}
.cake-stack-trace pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px 0 10px 0;
	padding: 1em;
	overflow: auto;
	text-shadow: none;
}
.cake-stack-trace li {
	padding: 10px 5px 0px;
	margin: 0 0 4px 0;
	font-family: monospace;
	border: 1px solid #bbb;
	-moz-border-radius: 4px;
	-wekbkit-border-radius: 4px;
	border-radius: 4px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
}
/* excerpt */
.cake-code-dump pre,
.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
.cake-code-dump .code-highlight {
	display: block;
	background-color: rgba(255, 255, 0, 0.5);
}
.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
.code-coverage-results div.covered span.content {
	background:#cec;
}
.code-coverage-results div.ignored span.content {
	color:#aaa;
}
.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
.code-coverage-results span.line-num strong {
	color:#666;
}
.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
.code-coverage-results div.realstart {
	margin-top:0px;
}
.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
.code-coverage-results span.result-bad {
	color: #a00;
}
.code-coverage-results span.result-ok {
	color: #fa0;
}
.code-coverage-results span.result-good {
	color: #0a0;
}

/** Elements **/
#url-rewriting-warning {
	display:none;
}



/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media screen and (max-width: 870px) {

    #main_content {
        float: none;
        width: auto;
    }

    #sidebar {
        float: none;
        width: auto;
    }

    #topbar {
        height: auto;
    }
    
    #topbar #logo {
        display: block;
        max-width: 100%;
    }

    #topbar #menu {
        clear: both;
        float:none;
        list-style-type: none;
        height: 30px;
        background-color: #06964f;
    }
    #topbar #menu li {
        display: inline;
        height: 30px;
        line-height: 30px;
        width: 33%;
        color: white;
        font-size: 16px;
        padding: 0;
        text-align: center;
    }

    #events {
        background-image: none;
    }
    #cities {
        background-image: none;
    }
    #contact {
        background-image: none;
    }

    #city_selector select {
        display: inline;
    }

    #city_selector ul {
        display: none;
    }

    #city_selector {
        float: none;
        padding: 0;
        border: none;
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}